package com.ewzj.bigdata.mvp.contract

import com.ewzj.bigdata.mvp.model.reqbean.Reqpagebean
import com.ewzj.bigdata.mvp.model.rspbean.InfosData
import com.ewzj.bigdata.mvp.ui.adapter.InfoAdapter
import com.jess.arms.mvp.IModel
import com.jess.arms.mvp.IView
import io.reactivex.Observable

/**
 * author:zhangjing
 * 作用:
 * return:
 */
class RealNewsFragmentContract{
    interface View : IView{
        fun initRecylerviewAdapter(adapter: InfoAdapter)
    }

    interface Model: IModel {
        fun getInfos(page: Reqpagebean):Observable<InfosData>
    }
}